<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>视频裁剪</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        body {
            padding: 20px;
            background: #fff;
        }

        .container {
            /* max-width: 1200px; */
            width: 100%;
            margin: 0 auto;
        }

        .info-banner {
            background-color: #f0f7ff;
            border: 1px solid #e1eeff;
            border-radius: 4px;
            padding: 12px;
            margin-bottom: 20px;
            color: #1a73e8;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-icon {
            width: 16px;
            height: 16px;
            background-color: #1a73e8;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .input-group {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            gap: 10px;
        }

        .input-label {
            color: #666;
            position: relative;
            white-space: nowrap;
        }

        .input-label::before {
            content: '*';
            color: #f00;
            position: absolute;
            left: -10px;
        }

        .text-input {
            flex: 1;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #999;
        }

        .button {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            background: #1a73e8;
            color: white;
            cursor: pointer;
            font-size: 14px;
        }

        .video-count {
            color: #666;
            white-space: nowrap;
        }


        .progress-section {
            margin: 20px 0;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            color: #666;
        }

        .progress-bar {
            width: 100%;
            height: 4px;
            background: #f5f5f5;
            border-radius: 2px;
            position: relative;
        }

        .progress-value {
            position: absolute;
            right: 0;
            top: -25px;
            color: #666;
        }

        .log-section {
            margin-top: 20px;
        }

        .log-label {
            color: #666;
            margin-bottom: 10px;
        }
    </style>
    <script src="qrc:///qtwebchannel/qwebchannel.js"></script>
</head>
<body>
    <div class="container">
        <div class="info-banner">
            <div class="info-icon">i</div>
            功能说明：该功能是去除视频的黑边，防止视频合成后会有在黑边。
        </div>

        <div class="input-group">
            <span class="input-label">视频目录:</span>
            <label>
                <input type="text" class="text-input" placeholder="请选择视频文件夹">
            </label>
            <span class="video-count">视频数量: 0</span>
            <button class="button">开始任务</button>
            <button class="button">停止任务</button>
        </div>


        <div class="input-group">
            <span class="input-label">导出目录:</span>
            <label>
                <input type="text" class="text-input" placeholder="请选择导出文件夹">
            </label>
            <button class="button">打开文件夹</button>
        </div>

        <div class="progress-section">
            <div class="progress-label">
                任务进度:
                <span class="progress-value">0.00%</span>
            </div>
            <div class="progress-bar"></div>
        </div>

        <div class="log-section">
            <div class="log-label">任务日志输出:</div>
        </div>
    </div>
</body>
</html> 